package com.cqust.icc.Dao;

import com.cqust.icc.Entity.Card;

/**
 * @author 张成
 * @version 1.0
 * @date 2022/3/18 8:49
 */
public class CardDao {
    private Card card;

    public void addCard(Card card) {
        System.out.println(card.getStuName() + ",学号:" + card.getStuNum() + ",卡号:" + card.getCardName() + ",余额：" + card.getCardMoney());
    }

    public Card getCard() {
        return card;
    }

    public void setCard(Card card) {
        this.card = card;
    }
}
